Objective assessment of GI motility